package com.ylx.pojo;

import java.util.List;

public class PageBean<T> {
//              总条数
    private int totalCount;
//         当前页面的数据
    private List<T> rows;
    @Override
    public String toString () {
        return "PageBean{" +
                "totalCount=" + totalCount +
                ", rows=" + rows +
                '}';
    }

    public int getTotalCount () {
        return totalCount;
    }

    public void setTotalCount (int totalCount) {
        this.totalCount = totalCount;
    }

    public List<T> getRows () {
        return rows;
    }

    public void setRows (List<T> rows) {
        this.rows = rows;
    }


}
